package com.jnzc.ocr.serv.shop.api;

import com.jnzc.ocr.common.bean.PageResult;
import com.jnzc.ocr.serv.shop.entity.ShopRefund;
import com.jnzc.ocr.serv.shop.filter.ShopRefundFilter;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.*;

/**
 * @author zhangcm
 * @version 1.0, 2017-09-29
 */
@FeignClient("serv-shop")
@RequestMapping("/ShopRefundApi")
public interface ShopRefundApi {

    @PostMapping("/search")
    PageResult<ShopRefund> search(@RequestBody ShopRefundFilter filter, @RequestParam("pageNo") Integer pageNo, @RequestParam("pageSize") Integer pageSize);
	
}
